package common;

import java.rmi.*;

import model.Message;
import model.User;
import model.exceptions.*;

public interface ClientInterface extends Remote {
	void userLoggedin(String name) throws RemoteException;

	void userLoggedout(String name) throws RemoteException;

	void takeMessage(Message message) throws RemoteException;
	
	void takeChat(Message message) throws RemoteException;

	void startConversation() throws RemoteException, AbstractException;
}